package com.android.meige.model.detail;

import java.util.List;

/**
 * Created by Administrator on 2016/9/26.
 */

public class PayMent {

    /**
     * data : {"payment":[{"pay_id":3,"pay_name":"支付宝","pay_code":"alipayapp","thumb":"https://iplyp.b0.upaiyun.com/upload/13/images/gallery/i/g/665_src.png"}]}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1513838225
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private List<PaymentBean> payment;

        public List<PaymentBean> getPayment() {
            return payment;
        }

        public void setPayment(List<PaymentBean> payment) {
            this.payment = payment;
        }

        public static class PaymentBean {
            /**
             * pay_id : 3
             * pay_name : 支付宝
             * pay_code : alipayapp
             * thumb : https://iplyp.b0.upaiyun.com/upload/13/images/gallery/i/g/665_src.png
             */

            private int pay_id;
            private String pay_name;
            private String pay_code;
            private String thumb;

            public int getPay_id() {
                return pay_id;
            }

            public void setPay_id(int pay_id) {
                this.pay_id = pay_id;
            }

            public String getPay_name() {
                return pay_name;
            }

            public void setPay_name(String pay_name) {
                this.pay_name = pay_name;
            }

            public String getPay_code() {
                return pay_code;
            }

            public void setPay_code(String pay_code) {
                this.pay_code = pay_code;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
        }
    }
}

